package com.pipayshop.entity.dto;

import com.baomidou.mybatisplus.extension.plugins.pagination.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author: jiangjiafeng
 * @ClassName ShopDTO
 * @Description 实体店DTO
 * @date 2023/7/26 16:54
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShopDTO extends PageDTO {
    /**
     * 标签id
     */
    private Integer tagId;
    /**
     * 一级分类id
     */
    private Integer categoryTopId;
    /**
     * 二级分类id
     */
    private Integer categorySecId;
    /**
     * 维度
     */
    private BigDecimal latitude;
    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 模糊查字段
     */
    private String shopIntroduce;

    /**
     * 距离排序 asc/desc
     */
    @ApiModelProperty(value = "距离排序 asc/desc")
    private String distanceOrder;

    /**
     * 价格排序 asc/desc
     */
    private String priceOrder;
}
